package com.itheima.mapper;


import org.apache.ibatis.annotations.*;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface EmpMapper {

    @Delete("delete from emp where id = #{id}")
    public void delete(Integer id);


    public List<Emp> list(String name, Short gender, LocalDate begin);

}
